﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
namespace BUS
{
    public class LichHTBUS
    {
        public List<LichHTDTO> DanhSachTheoThang(int thang, int nam)
        {
            LichHTDAO dao = new LichHTDAO();
            return dao.DanhSachTheoThang(thang, nam);
        }
        public int MonAnChuaLenLich(string MaMA, int thang, int nam)
         {
              LichHTDAO dao = new LichHTDAO();
              return dao.MonAnChuaLenLich(MaMA, thang, nam);
         }
         public int KiemTraLenLich(int thang, int nam)
         {
              LichHTDAO dao = new LichHTDAO();
              return dao.KiemTraLenLich(thang, nam);
         }
         public int ThemMonAnHT(string MaMA, string date)
         {
              LichHTDAO dao = new LichHTDAO();
              return dao.ThemMonAnHT(MaMA, date);
         }

         //public int MaChaMay(int thang, int nam)
         //{
         //    LichHTDAO dao = new LichHTDAO();
         //    return dao.MaChaMay(thang, nam);
         //}
    }
}
